package com.ecmap.hongyun.web.controller;

import javax.servlet.http.HttpServletRequest;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @className:MainController.java
 * @classDescription:主框架控制器
 * @author:DANIEL DENG
 * @createTime:2012-3-23
 */
@Controller
public class MainController {
	
	/**
	 * 首页（主框）
	 * 
	 * @author DANIEL DENG
	 * @createTime 2012-3-27
	 * @lastModify DANIEL DENG 2012-3-27
	 * @return
	 */
	@RequestMapping(value="/index" ,method = RequestMethod.GET)
	public String index(HttpServletRequest request){
		return "/index" ;
	}
	
	/**
	 * 后台左边菜单页
	 * 
	 * @author DANIEL DENG
	 * @createTime 2012-3-27
	 * @lastModify DANIEL DENG 2012-3-27
	 * @return
	 */
	@RequestMapping(value="/left" ,method = RequestMethod.GET)
	public String left(){
		return "/left" ;
	}
	
	/**
	 * 后台右边内容页
	 * 
	 * @author DANIEL DENG
	 * @createTime 2012-3-27
	 * @lastModify DANIEL DENG 2012-3-27
	 * @return
	 */
	@RequestMapping(value="/right" ,method = RequestMethod.GET)
	public String right(){
		return "/right" ;
	}
	

}
